package com.sunxueqi.project.system.vo;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.sunxueqi.framework.web.vo.BaseVO;

import io.swagger.annotations.ApiModel;

/**
 * @author 
 * 
 */
//序列化时，如果是null则会忽略
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel("数据字典类型")
public class DictType extends BaseVO implements Serializable {
    private String id;

    private String dictName;

    private String dictType;

    private String kzzd1;

    private String kzzd2;

    private String kzzd3;

    private String kzzd4;

    private String kzzd5;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDictName() {
        return dictName;
    }

    public void setDictName(String dictName) {
        this.dictName = dictName;
    }

    public String getDictType() {
        return dictType;
    }

    public void setDictType(String dictType) {
        this.dictType = dictType;
    }

    public String getKzzd1() {
        return kzzd1;
    }

    public void setKzzd1(String kzzd1) {
        this.kzzd1 = kzzd1;
    }

    public String getKzzd2() {
        return kzzd2;
    }

    public void setKzzd2(String kzzd2) {
        this.kzzd2 = kzzd2;
    }

    public String getKzzd3() {
        return kzzd3;
    }

    public void setKzzd3(String kzzd3) {
        this.kzzd3 = kzzd3;
    }

    public String getKzzd4() {
        return kzzd4;
    }

    public void setKzzd4(String kzzd4) {
        this.kzzd4 = kzzd4;
    }

    public String getKzzd5() {
        return kzzd5;
    }

    public void setKzzd5(String kzzd5) {
        this.kzzd5 = kzzd5;
    }

   

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DictType other = (DictType) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getDictName() == null ? other.getDictName() == null : this.getDictName().equals(other.getDictName()))
            && (this.getDictType() == null ? other.getDictType() == null : this.getDictType().equals(other.getDictType()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getKzzd1() == null ? other.getKzzd1() == null : this.getKzzd1().equals(other.getKzzd1()))
            && (this.getKzzd2() == null ? other.getKzzd2() == null : this.getKzzd2().equals(other.getKzzd2()))
            && (this.getKzzd3() == null ? other.getKzzd3() == null : this.getKzzd3().equals(other.getKzzd3()))
            && (this.getKzzd4() == null ? other.getKzzd4() == null : this.getKzzd4().equals(other.getKzzd4()))
            && (this.getKzzd5() == null ? other.getKzzd5() == null : this.getKzzd5().equals(other.getKzzd5()))
            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getDeleteStatus() == null ? other.getDeleteStatus() == null : this.getDeleteStatus().equals(other.getDeleteStatus()))
            && (this.getDeleteBy() == null ? other.getDeleteBy() == null : this.getDeleteBy().equals(other.getDeleteBy()))
            && (this.getDeleteTime() == null ? other.getDeleteTime() == null : this.getDeleteTime().equals(other.getDeleteTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getDictName() == null) ? 0 : getDictName().hashCode());
        result = prime * result + ((getDictType() == null) ? 0 : getDictType().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getKzzd1() == null) ? 0 : getKzzd1().hashCode());
        result = prime * result + ((getKzzd2() == null) ? 0 : getKzzd2().hashCode());
        result = prime * result + ((getKzzd3() == null) ? 0 : getKzzd3().hashCode());
        result = prime * result + ((getKzzd4() == null) ? 0 : getKzzd4().hashCode());
        result = prime * result + ((getKzzd5() == null) ? 0 : getKzzd5().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getDeleteStatus() == null) ? 0 : getDeleteStatus().hashCode());
        result = prime * result + ((getDeleteBy() == null) ? 0 : getDeleteBy().hashCode());
        result = prime * result + ((getDeleteTime() == null) ? 0 : getDeleteTime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", dictName=").append(dictName);
        sb.append(", dictType=").append(dictType);
        sb.append(", kzzd1=").append(kzzd1);
        sb.append(", kzzd2=").append(kzzd2);
        sb.append(", kzzd3=").append(kzzd3);
        sb.append(", kzzd4=").append(kzzd4);
        sb.append(", kzzd5=").append(kzzd5);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}